Parses the supplied array segment into data
structures representing the components of the SDP.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
Parse ( _
segment
As
ArraySegment(
Of
Byte), _
strict
As
Boolean _
)
|
C# |
public
void
Parse(
ArraySegment<
byte>
segment,
bool
strict
)
|
Visual C++ |
public:
void
Parse(
ArraySegment<
unsigned char>
segment,
bool
strict
)
|
JavaScript |
function
parse(
segment,
strict);
|
Parameters
-
segment
- Type:
ArraySegment
<
(Of
<
(
Byte
>
)
>
)
The array segment containing the SDP to parse.
-
strict
- Type:
Boolean
A value of true indicates the SDP parser should strictly
enforce the SDP encoding rules. It is recommended that strict
parsing is always used, however being more lenient may be useful
there is a need to communicate with a noncompliant device.
Exceptions
See Also